package com.zpark.mybatis_plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @PackageName: com.zpark.mybatis_plus.entity
 * @ClassName: Emp
 * @Description:
 * @author: RZS
 * @date: 2023/6/30  10:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Slf4j
@TableName("uuid_emp")
public class Emp {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String uname;
}
